import java.util.Random;

public class VertificationCode {
    //思路是用图片验证，找四张有标号的图片，要求按顺序点击
    //主要工程在ui

    public int[] imgOrder() {
        int[] order = {1,2,3,4};
        Random random = new Random();
        for (int i = 0; i < order.length; i++) {
            int randNum = random.nextInt(4);//生成0-3的随机数
            int tem = order[i];
            order[i] = order[randNum];
            order[randNum] = tem;
        }
        return order;
    }


}
